3.2476 \(\int \frac {1}{x^3 (a+b x^n)} \, dx\)

Optimal. Leaf size=36 \[ -\frac {\, _2F_1\left (1,-\frac {2}{n};-\frac {2-n}{n};-\frac {b x^n}{a}\right )}{2 a x^2} \]

[Out]

-1/2*hypergeom([1, -2/n],[(-2+n)/n],-b*x^n/a)/a/x^2

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.077, Rules used = {364} \[ -\frac {\, _2F_1\left (1,-\frac {2}{n};-\frac {2-n}{n};-\frac {b x^n}{a}\right )}{2 a x^2} \]

Antiderivative was successfully verified.

[In]

Int[1/(x^3*(a + b*x^n)),x]

[Out]

-Hypergeometric2F1[1, -2/n, -((2 - n)/n), -((b*x^n)/a)]/(2*a*x^2)

Rule 364

Int[((c_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Simp[(a^p*(c*x)^(m + 1)*Hypergeometric2F1[-
p, (m + 1)/n, (m + 1)/n + 1, -((b*x^n)/a)])/(c*(m + 1)), x] /; FreeQ[{a, b, c, m, n, p}, x] &&  !IGtQ[p, 0] &&
 (ILtQ[p, 0] || GtQ[a, 0])

Rubi steps

\begin {align*} \int \frac {1}{x^3 \left (a+b x^n\right )} \, dx &=-\frac {\, _2F_1\left (1,-\frac {2}{n};-\frac {2-n}{n};-\frac {b x^n}{a}\right )}{2 a x^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 33, normalized size = 0.92 \[ -\frac {\, _2F_1\left (1,-\frac {2}{n};1-\frac {2}{n};-\frac {b x^n}{a}\right )}{2 a x^2} \]

Antiderivative was successfully verified.

[In]

Integrate[1/(x^3*(a + b*x^n)),x]

[Out]

-1/2*Hypergeometric2F1[1, -2/n, 1 - 2/n, -((b*x^n)/a)]/(a*x^2)

________________________________________________________________________________________

fricas [F]  time = 0.62, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\frac {1}{b x^{3} x^{n} + a x^{3}}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a+b*x^n),x, algorithm="fricas")

[Out]

integral(1/(b*x^3*x^n + a*x^3), x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (b x^{n} + a\right )} x^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a+b*x^n),x, algorithm="giac")

[Out]

integrate(1/((b*x^n + a)*x^3), x)

________________________________________________________________________________________

maple [F]  time = 0.24, size = 0, normalized size = 0.00 \[ \int \frac {1}{\left (b \,x^{n}+a \right ) x^{3}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/x^3/(b*x^n+a),x)

[Out]

int(1/x^3/(b*x^n+a),x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {1}{{\left (b x^{n} + a\right )} x^{3}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x^3/(a+b*x^n),x, algorithm="maxima")

[Out]

integrate(1/((b*x^n + a)*x^3), x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.03 \[ \int \frac {1}{x^3\,\left (a+b\,x^n\right )} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(x^3*(a + b*x^n)),x)

[Out]

int(1/(x^3*(a + b*x^n)), x)

________________________________________________________________________________________

sympy [C]  time = 1.00, size = 44, normalized size = 1.22 \[ - \frac {2 \Phi \left (\frac {b x^{n} e^{i \pi }}{a}, 1, \frac {2 e^{i \pi }}{n}\right ) \Gamma \left (- \frac {2}{n}\right )}{a n^{2} x^{2} \Gamma \left (1 - \frac {2}{n}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/x**3/(a+b*x**n),x)

[Out]

-2*lerchphi(b*x**n*exp_polar(I*pi)/a, 1, 2*exp_polar(I*pi)/n)*gamma(-2/n)/(a*n**2*x**2*gamma(1 - 2/n))

________________________________________________________________________________________